<template>
    <div id="header" class="media">
        <a href="#" id="menu-toggle" @click="toggleMenu"></a>
        <a class="logo pull-left" href="#" style="font-size:16px; font-family:'Microsoft YaHei';">
            <slot name="tittle"></slot>
        </a>
        <media-time></media-time>
    </div>
</template>

<script>
import MediaTime from '../widgets/MediaTime'
import { mapActions } from 'vuex'
export default {
    components: {
        MediaTime
    },
    methods: mapActions([
        'toggleMenu'
    ])
}
</script>